﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;

namespace AbpDemo.Admins.Dto
{
    /// <summary>
    /// 返回结果
    /// </summary>
    public enum RegisterState
    {
        /// <summary>
        /// 成功
        /// </summary>
        [Description("成功")]
        Success = 200,
        /// <summary>
        /// 用户名已存在
        /// </summary>
        [Description("用户名已存在")]
        UserNameExists = 300,
        /// <summary>
        /// 失败
        /// </summary>
        [Description("失败")]
        Failed = 500
    }

    public class RegisterResultDto : ResultDto
    {
        public new RegisterState Code { get; set; }
    }
}
